﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ViewTopic.aspx.cs" Inherits="ViewTopic" validateRequest="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>
        <asp:Literal ID="LiteralTitle" runat="server"></asp:Literal>
    </title>
    <link rel="stylesheet" type="text/css" href="styles/css.css" />
    <script language="javascript" type="text/javascript">
        function reply(floor,pid,uid) {
            document.getElementById("viewtopic_reply_title").value = "回复" + floor + "：";
            document.getElementById("viewtopic_reply_form").focus();
            document.getElementById("uid_be_reply").value = uid;
            document.getElementById("pid_be_reply").value = pid;
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <%@ register tagname="header" tagprefix="ucl" src="header.ascx" %>
        <ucl:header ID="Header1" runat="server" />
        <div id="main-wrap">
            <div style="margin-left:10px">
                <%@ register tagname="navigation" tagprefix="ucl" src="navigation.ascx" %>
                <ucl:navigation ID="navigation" runat="server" />
            </div>
            
            <%@ register tagname="pagetab" tagprefix="ucl" src="indextab.ascx" %>
            <ucl:pagetab ID="PageTab1" url="ViewTopic.aspx" curpage="1" num_per_page="10"  runat="server" />

            <ul id="viewtopic_content_ul">
                <li class="viewtopic_content_li" id="LZ" runat="Server">
                    <div id="post_LZ_title" runat="Server"></div>
                    <a  runat="Server" id="LZ_link" class="post_photo" href="#">
                        <img id="LZ_photo" runat="server" />
                    </a>
                    <div  class="post_wrap" >

                        <asp:HyperLink ID="Literal_LZ_name" runat="server">LZname</asp:HyperLink>

                        <span class="post_time">
                            <asp:Literal ID="Literal_LZ_time" runat="server"></asp:Literal>
                        </span>
                        <span class="post_floor">楼主</span>
  
                        <div class="post_content">
                            <asp:Literal ID="Literal_LZ_content" runat="server"></asp:Literal>
                            
                        </div>
                        <div class="post_operate" >
                            <a  id="post_op_repy" onclick="reply('楼主',-1,-1);"  runat="Server">回复</a>
                            <asp:HyperLink ID="HyperLink_delete_topic" runat="server">删除帖子</asp:HyperLink>
                        </div>
                    </div>
                    <div class="clearfloat"></div>
                </li>
                <asp:Literal ID="Literal1" runat="server"></asp:Literal>
            </ul>
            <div id="viewtopic_reply_wrap" runat="Server" >
                <div style="font-weight: bold;font-size: small;">回复帖子</div>
                <div id="viewtopic_reply_left">
                    <img id="user_photo" runat="Server" />
                </div>
                <div id="viewtopic_reply_right">
                <asp:TextBox ID="viewtopic_reply_title" value="" runat="server"></asp:TextBox>
                <textarea id="viewtopic_reply_form" cols="20" rows="8" runat="server"></textarea>

                <input type="hidden" id="uid_be_reply" name="uid_be_reply" value="-1"/>
                <input type="hidden" id="pid_be_reply" name="pid_be_reply" value="-1"/>
                <input id="Submit_Reply" type="submit" style="height:20px;" value="提交回复" class="forum-newthread"/>
                </div>
            </div>
            <div class="clearfloat"></div>
        </div>
        <%@ register tagname="footer" tagprefix="ucl" src="footer.ascx" %>
        <ucl:footer runat="server" />
    </div>
    </form>
</body>
</html>
